package Collection;

import java.util.*;

public class SortString {
    public static void main(String[] args) {
        Collection<String> list=new ArrayList<>();
        list.add("袁晓勿");
        list.add("勿琦琪");
        list.add("将军令");
        System.out.println("原排序："+list);











































    /*    List<String> list=new ArrayList<>();
        list.add("jack");
        list.add("rose");
        list.add("tom");
        list.add("jerry");
        list.add("black");
        list.add("Kobe");

        System.out.println("list原集合："+list);
        Collections.sort(list);
        System.out.println("list排序后的数据"+list);
        //按照ASCII码排序，A-Z，a-z，0-9;
     */




    }

}
